<?php
/**
 * Created by PhpStorm.
 * User: yangkang
 * Date: 2018/3/19
 * Time: 下午5:02
 */

namespace App\Services\Mobile;


use App\Http\Controllers\Common\SmsController;

class SmsService
{
    public function verify($mobile, $code)
    {
        return SmsController::verifyCode($mobile, $code)['code'] == '0000' ? true : false;
    }
}